package com.picture.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @TableName picture
 */
@Data
public class Picture implements Serializable {

    @TableId(type = IdType.AUTO)
    @TableField("pictureId")
    private Long pictureId;
    @TableField("pictureUrl")
    private String pictureUrl;
    @TableField("shotTime")
    private LocalDateTime shotTime;
    @TableField("updateTime")
    private LocalDateTime updateTime;
    @TableField("userId")
    private Integer userId;
    @TableField("pictureStatus")
    private String pictureStatus;

    private String description;
    @TableField("pictureCategoryId")
    private Integer pictureCategoryId;

    @TableField("class")
    private String aclass;

    private static final long serialVersionUID = 1L;

}